#!/bin/sh
if [ -z "${IPKG_INSTROOT}" ]; then
	TMP=$(cat /www/cgi-bin/webif/.categories | sed  -n '/IPBX/p')
	if [ -z "$TMP" ]; then
		cat /www/cgi-bin/webif/.categories | sed  '/VPN/a##WEBIF:category:IPBX' > /www/cgi-bin/webif/.categories
	fi
fi
